package com.mock.dao.impl;

import java.util.List;

import com.mock.dao.OrganisationSpecialismDao;
import com.mock.model.Organisation;
import com.mock.model.OrganisationSpecialism;

public class OrganisationSpecialismDaoImpl extends GenericDaoImpl<OrganisationSpecialism, Long>
implements OrganisationSpecialismDao{

	@Override
	public List<OrganisationSpecialism> getAllOrganisationSpecialism() {
		return super.getAll(OrganisationSpecialism.class);
	}

	@Override
	public OrganisationSpecialism getById(long id) {
		return super.getById(OrganisationSpecialism.class, id);
	}

	@Override
	public List<Long> getOrganisationDetailsTwoByOrganisationGerneric(
			Organisation organisation) {
		return super.getOrganisationDetailsTwoByOrganisation(organisation, OrganisationSpecialism.class, "organisationSpecialism");
	}

}
